#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>
#include <MCCanvas.h>
#include <MCCommandManager.h>

namespace Ui {
class MainWindow;
}

class MainWindow : public QWidget
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_drawLineSegment_clicked();

    void on_drawEllipse_clicked();

    void on_drawCircle_clicked();

    void on_drawArc_clicked();

    void on_drawLinearDimension_clicked();

    void on_cnstr_incident_clicked();

    void on_cnstr_parallel_clicked();

    void on_cnstr_perpendicular_clicked();

private:
    Ui::MainWindow *ui;

    MCCanvas *_canvas;
    MCConstraintsManager *_constraintManager;
    MCSelectController *_selectController;
    MCCommandManager *_commandManager;
};

#endif // MAINWINDOW_H
